package com.imooc.ecommerce;

/**
 * ClassName: AuthorityCenterApplication
 * Package: com.imooc.ecommerce
 *
 * @Author 马学兴
 * @Create 2025-02-12 16:16
 * @Version 1.0
 * Description:
 */
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

/**
 * <h1>授权中心启动入口</h1>
 * */
@EnableJpaAuditing  // 允许 Jpa 自动审计
@EnableDiscoveryClient
@EnableJpaRepositories
@SpringBootApplication
public class AuthorityCenterApplication {
    public static void main(String[] args) {
        SpringApplication.run(AuthorityCenterApplication.class,args);
    }
}
